home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C25 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  4.8 KB  |  150 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C25
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     SingletonPattern \
  22.     UseLog2 \
  23.     SingletonPattern2 \
  24.     FunctionStaticSingleton \
  25.     ShapeFactory1 \
  26.     ShapeFactory2 \
  27.     AbstractFactory \
  28.     VirtualConstructor \
  29.     InnerClassIdiom \
  30.     ObservedFlower \
  31.     PaperScissorsRock \
  32.     BeeAndFlowers \
  33.     Recycle1 \
  34.     Recycle2 \
  35.     Recycle3 \
  36.     Recycle4 \
  37.     DoubleDispatch \
  38.     TrashVisitor \
  39.     DynaTrash 
  40.  
  41. test: all 
  42.     SingletonPattern  
  43.     UseLog2  
  44.     SingletonPattern2  
  45.     FunctionStaticSingleton  
  46.     ShapeFactory1  
  47.     ShapeFactory2  
  48.     AbstractFactory  
  49.     VirtualConstructor  
  50.     InnerClassIdiom  
  51.     ObservedFlower  
  52.     PaperScissorsRock  
  53.     BeeAndFlowers  
  54.     Recycle1  
  55.     Recycle2  
  56.     Recycle3  
  57.     Recycle4  
  58.     DoubleDispatch  
  59.     TrashVisitor  
  60.     DynaTrash  
  61.  
  62. bugs: 
  63.     @echo No compiler bugs in this directory!
  64.  
  65. SingletonPattern: SingletonPattern.o 
  66.     $(CPP) $(OFLAG)SingletonPattern SingletonPattern.o 
  67.  
  68. UseLog2: UseLog2.o UseLog1.o 
  69.     $(CPP) $(OFLAG)UseLog2 UseLog2.o UseLog1.o 
  70.  
  71. SingletonPattern2: SingletonPattern2.o 
  72.     $(CPP) $(OFLAG)SingletonPattern2 SingletonPattern2.o 
  73.  
  74. FunctionStaticSingleton: FunctionStaticSingleton.o 
  75.     $(CPP) $(OFLAG)FunctionStaticSingleton FunctionStaticSingleton.o 
  76.  
  77. ShapeFactory1: ShapeFactory1.o 
  78.     $(CPP) $(OFLAG)ShapeFactory1 ShapeFactory1.o 
  79.  
  80. ShapeFactory2: ShapeFactory2.o 
  81.     $(CPP) $(OFLAG)ShapeFactory2 ShapeFactory2.o 
  82.  
  83. AbstractFactory: AbstractFactory.o 
  84.     $(CPP) $(OFLAG)AbstractFactory AbstractFactory.o 
  85.  
  86. VirtualConstructor: VirtualConstructor.o 
  87.     $(CPP) $(OFLAG)VirtualConstructor VirtualConstructor.o 
  88.  
  89. InnerClassIdiom: InnerClassIdiom.o 
  90.     $(CPP) $(OFLAG)InnerClassIdiom InnerClassIdiom.o 
  91.  
  92. ObservedFlower: ObservedFlower.o 
  93.     $(CPP) $(OFLAG)ObservedFlower ObservedFlower.o 
  94.  
  95. PaperScissorsRock: PaperScissorsRock.o 
  96.     $(CPP) $(OFLAG)PaperScissorsRock PaperScissorsRock.o 
  97.  
  98. BeeAndFlowers: BeeAndFlowers.o 
  99.     $(CPP) $(OFLAG)BeeAndFlowers BeeAndFlowers.o 
  100.  
  101. Recycle1: Recycle1.o 
  102.     $(CPP) $(OFLAG)Recycle1 Recycle1.o 
  103.  
  104. Recycle2: Recycle2.o 
  105.     $(CPP) $(OFLAG)Recycle2 Recycle2.o 
  106.  
  107. Recycle3: Recycle3.o TrashPrototypeInit.o fillBin.o Trash.o TrashStatics.o 
  108.     $(CPP) $(OFLAG)Recycle3 Recycle3.o TrashPrototypeInit.o fillBin.o Trash.o TrashStatics.o 
  109.  
  110. Recycle4: Recycle4.o TrashPrototypeInit.o fillBin.o Trash.o TrashStatics.o 
  111.     $(CPP) $(OFLAG)Recycle4 Recycle4.o TrashPrototypeInit.o fillBin.o Trash.o TrashStatics.o 
  112.  
  113. DoubleDispatch: DoubleDispatch.o DDTrashPrototypeInit.o fillBin.o Trash.o TrashStatics.o 
  114.     $(CPP) $(OFLAG)DoubleDispatch DoubleDispatch.o DDTrashPrototypeInit.o fillBin.o Trash.o TrashStatics.o 
  115.  
  116. TrashVisitor: TrashVisitor.o VisitorTrashPrototypeInit.o fillBin.o Trash.o TrashStatics.o 
  117.     $(CPP) $(OFLAG)TrashVisitor TrashVisitor.o VisitorTrashPrototypeInit.o fillBin.o Trash.o TrashStatics.o 
  118.  
  119. DynaTrash: DynaTrash.o TrashPrototypeInit.o fillBin.o Trash.o TrashStatics.o 
  120.     $(CPP) $(OFLAG)DynaTrash DynaTrash.o TrashPrototypeInit.o fillBin.o Trash.o TrashStatics.o 
  121.  
  122.  
  123. SingletonPattern.o: SingletonPattern.cpp 
  124. UseLog1.o: UseLog1.cpp LogFile.h 
  125. UseLog2.o: UseLog2.cpp LogFile.h 
  126. SingletonPattern2.o: SingletonPattern2.cpp 
  127. FunctionStaticSingleton.o: FunctionStaticSingleton.cpp 
  128. ShapeFactory1.o: ShapeFactory1.cpp ../purge.h 
  129. ShapeFactory2.o: ShapeFactory2.cpp ../purge.h 
  130. AbstractFactory.o: AbstractFactory.cpp 
  131. VirtualConstructor.o: VirtualConstructor.cpp 
  132. InnerClassIdiom.o: InnerClassIdiom.cpp 
  133. ObservedFlower.o: ObservedFlower.cpp Observable.h 
  134. PaperScissorsRock.o: PaperScissorsRock.cpp ../purge.h 
  135. BeeAndFlowers.o: BeeAndFlowers.cpp ../purge.h 
  136. Recycle1.o: Recycle1.cpp sumValue.h ../purge.h 
  137. Recycle2.o: Recycle2.cpp sumValue.h ../purge.h 
  138. Trash.o: Trash.cpp Trash.h 
  139. TrashStatics.o: TrashStatics.cpp Trash.h Aluminum.h Paper.h Glass.h Cardboard.h 
  140. TrashPrototypeInit.o: TrashPrototypeInit.cpp Trash.h Aluminum.h Paper.h Glass.h Cardboard.h 
  141. fillBin.o: fillBin.cpp fillBin.h Fillable.h ../C17/trim.h ../require.h 
  142. Recycle3.o: Recycle3.cpp Trash.h Aluminum.h Paper.h Glass.h fillBin.h sumValue.h ../purge.h 
  143. Recycle4.o: Recycle4.cpp Trash.h Aluminum.h Paper.h Glass.h Cardboard.h fillBin.h sumValue.h ../purge.h 
  144. DDTrashPrototypeInit.o: DDTrashPrototypeInit.cpp TypedBin.h Aluminum.h Paper.h Glass.h Cardboard.h 
  145. DoubleDispatch.o: DoubleDispatch.cpp TypedBin.h fillBin.h sumValue.h ../purge.h 
  146. VisitorTrashPrototypeInit.o: VisitorTrashPrototypeInit.cpp Visitor.h 
  147. TrashVisitor.o: TrashVisitor.cpp Visitor.h fillBin.h ../purge.h 
  148. DynaTrash.o: DynaTrash.cpp Trash.h fillBin.h sumValue.h ../purge.h 
  149.  
  150.